/*
 * dessin.h
 *
 *  Created on: 17 sept. 2013
 *      Author: the
 */

#ifndef DESSIN_H_
#define DESSIN_H_
#include "type.h"
#include "metric.h"
#include "init.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>


//Global extern variables
extern int nbOfNodes;		//Number of nodes
extern struct node* nodes;	//Array with the nodes
extern int nbOfRadios;		//Number of radios per node
extern int maxFreq;		//Number of orthogonal frequencies
extern int algorithm;		//Algorithm number used to allocate the frequencies
extern float	L;		//Length of a side of the observation window (LxL)
extern float	R;		//Radio scope of the nodes


#define PI 3.1415
#define SCALE 1

/* Dessine le graphe des noeuds	*/
void dessineGraph();


#endif /* DESSIN_H_ */
